//
// Source code recreated from ConfigVo .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ht.modules.system.online.cgreport.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;

@TableName("onl_cgreport_item")
public class OnlCgreportItem implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
        type = IdType.ASSIGN_UUID
    )
    private String id;
    private String cgrheadId;
    private String fieldName;
    private String fieldTxt;
    private Integer fieldWidth;
    private String fieldType;
    private String searchMode;
    private Integer isOrder;
    private Integer isSearch;
    private String dictCode;
    private String fieldHref;
    private Integer isShow;
    private Integer orderNum;
    private String replaceVal;
    private String createBy;
    @JsonFormat(
        timezone = "GMT+8",
        pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @DateTimeFormat(
        pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private Date createTime;
    private String updateBy;
    @JsonFormat(
        timezone = "GMT+8",
        pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @DateTimeFormat(
        pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private Date updateTime;

    public OnlCgreportItem() {
    }

    public String getId() {
        return this.id;
    }

    public String getCgrheadId() {
        return this.cgrheadId;
    }

    public String getFieldName() {
        return this.fieldName;
    }

    public String getFieldTxt() {
        return this.fieldTxt;
    }

    public Integer getFieldWidth() {
        return this.fieldWidth;
    }

    public String getFieldType() {
        return this.fieldType;
    }

    public String getSearchMode() {
        return this.searchMode;
    }

    public Integer getIsOrder() {
        return this.isOrder;
    }

    public Integer getIsSearch() {
        return this.isSearch;
    }

    public String getDictCode() {
        return this.dictCode;
    }

    public String getFieldHref() {
        return this.fieldHref;
    }

    public Integer getIsShow() {
        return this.isShow;
    }

    public Integer getOrderNum() {
        return this.orderNum;
    }

    public String getReplaceVal() {
        return this.replaceVal;
    }

    public String getCreateBy() {
        return this.createBy;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public String getUpdateBy() {
        return this.updateBy;
    }

    public Date getUpdateTime() {
        return this.updateTime;
    }

    public void setId(final String id) {
        this.id = id;
    }

    public void setCgrheadId(final String cgrheadId) {
        this.cgrheadId = cgrheadId;
    }

    public void setFieldName(final String fieldName) {
        this.fieldName = fieldName;
    }

    public void setFieldTxt(final String fieldTxt) {
        this.fieldTxt = fieldTxt;
    }

    public void setFieldWidth(final Integer fieldWidth) {
        this.fieldWidth = fieldWidth;
    }

    public void setFieldType(final String fieldType) {
        this.fieldType = fieldType;
    }

    public void setSearchMode(final String searchMode) {
        this.searchMode = searchMode;
    }

    public void setIsOrder(final Integer isOrder) {
        this.isOrder = isOrder;
    }

    public void setIsSearch(final Integer isSearch) {
        this.isSearch = isSearch;
    }

    public void setDictCode(final String dictCode) {
        this.dictCode = dictCode;
    }

    public void setFieldHref(final String fieldHref) {
        this.fieldHref = fieldHref;
    }

    public void setIsShow(final Integer isShow) {
        this.isShow = isShow;
    }

    public void setOrderNum(final Integer orderNum) {
        this.orderNum = orderNum;
    }

    public void setReplaceVal(final String replaceVal) {
        this.replaceVal = replaceVal;
    }

    public void setCreateBy(final String createBy) {
        this.createBy = createBy;
    }

    public void setCreateTime(final Date createTime) {
        this.createTime = createTime;
    }

    public void setUpdateBy(final String updateBy) {
        this.updateBy = updateBy;
    }

    public void setUpdateTime(final Date updateTime) {
        this.updateTime = updateTime;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof OnlCgreportItem)) {
            return false;
        } else {
            OnlCgreportItem other = (OnlCgreportItem)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$id = this.getId();
                Object other$id = other.getId();
                if (this$id == null) {
                    if (other$id != null) {
                        return false;
                    }
                } else if (!this$id.equals(other$id)) {
                    return false;
                }

                Object this$cgrheadId = this.getCgrheadId();
                Object other$cgrheadId = other.getCgrheadId();
                if (this$cgrheadId == null) {
                    if (other$cgrheadId != null) {
                        return false;
                    }
                } else if (!this$cgrheadId.equals(other$cgrheadId)) {
                    return false;
                }

                Object this$fieldName = this.getFieldName();
                Object other$fieldName = other.getFieldName();
                if (this$fieldName == null) {
                    if (other$fieldName != null) {
                        return false;
                    }
                } else if (!this$fieldName.equals(other$fieldName)) {
                    return false;
                }

                label206: {
                    Object this$fieldTxt = this.getFieldTxt();
                    Object other$fieldTxt = other.getFieldTxt();
                    if (this$fieldTxt == null) {
                        if (other$fieldTxt == null) {
                            break label206;
                        }
                    } else if (this$fieldTxt.equals(other$fieldTxt)) {
                        break label206;
                    }

                    return false;
                }

                label199: {
                    Object this$fieldWidth = this.getFieldWidth();
                    Object other$fieldWidth = other.getFieldWidth();
                    if (this$fieldWidth == null) {
                        if (other$fieldWidth == null) {
                            break label199;
                        }
                    } else if (this$fieldWidth.equals(other$fieldWidth)) {
                        break label199;
                    }

                    return false;
                }

                Object this$fieldType = this.getFieldType();
                Object other$fieldType = other.getFieldType();
                if (this$fieldType == null) {
                    if (other$fieldType != null) {
                        return false;
                    }
                } else if (!this$fieldType.equals(other$fieldType)) {
                    return false;
                }

                label185: {
                    Object this$searchMode = this.getSearchMode();
                    Object other$searchMode = other.getSearchMode();
                    if (this$searchMode == null) {
                        if (other$searchMode == null) {
                            break label185;
                        }
                    } else if (this$searchMode.equals(other$searchMode)) {
                        break label185;
                    }

                    return false;
                }

                label178: {
                    Object this$isOrder = this.getIsOrder();
                    Object other$isOrder = other.getIsOrder();
                    if (this$isOrder == null) {
                        if (other$isOrder == null) {
                            break label178;
                        }
                    } else if (this$isOrder.equals(other$isOrder)) {
                        break label178;
                    }

                    return false;
                }

                Object this$isSearch = this.getIsSearch();
                Object other$isSearch = other.getIsSearch();
                if (this$isSearch == null) {
                    if (other$isSearch != null) {
                        return false;
                    }
                } else if (!this$isSearch.equals(other$isSearch)) {
                    return false;
                }

                Object this$dictCode = this.getDictCode();
                Object other$dictCode = other.getDictCode();
                if (this$dictCode == null) {
                    if (other$dictCode != null) {
                        return false;
                    }
                } else if (!this$dictCode.equals(other$dictCode)) {
                    return false;
                }

                label157: {
                    Object this$fieldHref = this.getFieldHref();
                    Object other$fieldHref = other.getFieldHref();
                    if (this$fieldHref == null) {
                        if (other$fieldHref == null) {
                            break label157;
                        }
                    } else if (this$fieldHref.equals(other$fieldHref)) {
                        break label157;
                    }

                    return false;
                }

                label150: {
                    Object this$isShow = this.getIsShow();
                    Object other$isShow = other.getIsShow();
                    if (this$isShow == null) {
                        if (other$isShow == null) {
                            break label150;
                        }
                    } else if (this$isShow.equals(other$isShow)) {
                        break label150;
                    }

                    return false;
                }

                Object this$orderNum = this.getOrderNum();
                Object other$orderNum = other.getOrderNum();
                if (this$orderNum == null) {
                    if (other$orderNum != null) {
                        return false;
                    }
                } else if (!this$orderNum.equals(other$orderNum)) {
                    return false;
                }

                label136: {
                    Object this$replaceVal = this.getReplaceVal();
                    Object other$replaceVal = other.getReplaceVal();
                    if (this$replaceVal == null) {
                        if (other$replaceVal == null) {
                            break label136;
                        }
                    } else if (this$replaceVal.equals(other$replaceVal)) {
                        break label136;
                    }

                    return false;
                }

                Object this$createBy = this.getCreateBy();
                Object other$createBy = other.getCreateBy();
                if (this$createBy == null) {
                    if (other$createBy != null) {
                        return false;
                    }
                } else if (!this$createBy.equals(other$createBy)) {
                    return false;
                }

                label122: {
                    Object this$createTime = this.getCreateTime();
                    Object other$createTime = other.getCreateTime();
                    if (this$createTime == null) {
                        if (other$createTime == null) {
                            break label122;
                        }
                    } else if (this$createTime.equals(other$createTime)) {
                        break label122;
                    }

                    return false;
                }

                Object this$updateBy = this.getUpdateBy();
                Object other$updateBy = other.getUpdateBy();
                if (this$updateBy == null) {
                    if (other$updateBy != null) {
                        return false;
                    }
                } else if (!this$updateBy.equals(other$updateBy)) {
                    return false;
                }

                Object this$updateTime = this.getUpdateTime();
                Object other$updateTime = other.getUpdateTime();
                if (this$updateTime == null) {
                    if (other$updateTime != null) {
                        return false;
                    }
                } else if (!this$updateTime.equals(other$updateTime)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof OnlCgreportItem;
    }

//    public int hashCode() {
//        int PRIME = true;
//        int result = 1;
//        Object $id = this.getId();
//        int result = result * 59 + ($id == null ? 43 : $id.hashCode());
//        Object $cgrheadId = this.getCgrheadId();
//        result = result * 59 + ($cgrheadId == null ? 43 : $cgrheadId.hashCode());
//        Object $fieldName = this.getFieldName();
//        result = result * 59 + ($fieldName == null ? 43 : $fieldName.hashCode());
//        Object $fieldTxt = this.getFieldTxt();
//        result = result * 59 + ($fieldTxt == null ? 43 : $fieldTxt.hashCode());
//        Object $fieldWidth = this.getFieldWidth();
//        result = result * 59 + ($fieldWidth == null ? 43 : $fieldWidth.hashCode());
//        Object $fieldType = this.getFieldType();
//        result = result * 59 + ($fieldType == null ? 43 : $fieldType.hashCode());
//        Object $searchMode = this.getSearchMode();
//        result = result * 59 + ($searchMode == null ? 43 : $searchMode.hashCode());
//        Object $isOrder = this.getIsOrder();
//        result = result * 59 + ($isOrder == null ? 43 : $isOrder.hashCode());
//        Object $isSearch = this.getIsSearch();
//        result = result * 59 + ($isSearch == null ? 43 : $isSearch.hashCode());
//        Object $dictCode = this.getDictCode();
//        result = result * 59 + ($dictCode == null ? 43 : $dictCode.hashCode());
//        Object $fieldHref = this.getFieldHref();
//        result = result * 59 + ($fieldHref == null ? 43 : $fieldHref.hashCode());
//        Object $isShow = this.getIsShow();
//        result = result * 59 + ($isShow == null ? 43 : $isShow.hashCode());
//        Object $orderNum = this.getOrderNum();
//        result = result * 59 + ($orderNum == null ? 43 : $orderNum.hashCode());
//        Object $replaceVal = this.getReplaceVal();
//        result = result * 59 + ($replaceVal == null ? 43 : $replaceVal.hashCode());
//        Object $createBy = this.getCreateBy();
//        result = result * 59 + ($createBy == null ? 43 : $createBy.hashCode());
//        Object $createTime = this.getCreateTime();
//        result = result * 59 + ($createTime == null ? 43 : $createTime.hashCode());
//        Object $updateBy = this.getUpdateBy();
//        result = result * 59 + ($updateBy == null ? 43 : $updateBy.hashCode());
//        Object $updateTime = this.getUpdateTime();
//        result = result * 59 + ($updateTime == null ? 43 : $updateTime.hashCode());
//        return result;
//    }
//
//    public String toString() {
//        return "OnlCgreportItem(id=" + this.getId() + ", cgrheadId=" + this.getCgrheadId() + ", fieldName=" + this.getFieldName() + ", fieldTxt=" + this.getFieldTxt() + ", fieldWidth=" + this.getFieldWidth() + ", fieldType=" + this.getFieldType() + ", searchMode=" + this.getSearchMode() + ", isOrder=" + this.getIsOrder() + ", isSearch=" + this.getIsSearch() + ", dictCode=" + this.getDictCode() + ", fieldHref=" + this.getFieldHref() + ", isShow=" + this.getIsShow() + ", orderNum=" + this.getOrderNum() + ", replaceVal=" + this.getReplaceVal() + ", createBy=" + this.getCreateBy() + ", createTime=" + this.getCreateTime() + ", updateBy=" + this.getUpdateBy() + ", updateTime=" + this.getUpdateTime() + ")";
//    }
}
